package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverFlowLogCategory {
    unknown(0, "unknown"),
    ride_order(1, "ride_order"),
    street_ride_order(2, "street_ride_order"),
    recommend_reward(3, "recommend_reward"),
    ride_red_packet(4, "ride_red_packet"),
    withdraw(5, "withdraw"),
    cancellation_order(6, "cancellation_order"),
    rebate(7, "rebate"),
    recommend_first_order_reward(8, "recommend_first_order_reward"),
    ride_reward(9, "ride_reward"),
    admin_money_deducting(10, "admin_money_deducting"),
    scan_ride_order(11, "scan_ride_order"),
    simple_call_order(12, "simple_call_order"),
    designated_call_ride_order(13, "designated_call_ride_order");

    @EnumValue
    private final int code;
    private final String desc;

    DriverFlowLogCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
